// 静态路由配置
// 书写格式与动态路由格式一致，全部经由框架统一转换
// 比较动态路由在meta中多加入了role角色权限，为数组类型。一个菜单是否有权限显示，取决于它以及后代菜单是否有权限。
// routes 显示在左侧菜单中的路由(显示顺序在动态路由之前)
// 示例如下

// const routes = [
// 	{
// 		name: "demo",
// 		path: "/demo",
// 		meta: {
// 			icon: "el-icon-eleme-filled",
// 			title: "演示",
// 			role: ["SA"]
// 		},
// 		children: [{
// 			name: "demopage",
// 			path: "/demopage",
// 			component: "test/autocode/index",
// 			meta: {
// 				icon: "el-icon-menu",
// 				title: "演示页面",
// 				role: ["SA"]
// 			}
// 		}]
// 	}
// ]

const routes = [
	
	{
		name: "dashboard",
		path: "/dashboard",
		component: "dashboard/index",
		menuType: "C",
		meta: {
			icon: "sc-icon-source-icon",
			title: "资源监控",

		}
	},
	{
		name: "bigModel",
		menuType: "C",
		component: '',
		path: "https://www.baidu.com",
		meta: {
			icon: "sc-icon-big-icon",
			title: "开源大模型库",
			type: 'iframe'
		}
	},
	{
		name: "enterpriceKnowledge",
		menuType: "C",
		component: '',
		path: "http://element-plus.org/zh-CN/",
		meta: {
			icon: "sc-icon-qy-icon",
			title: "企业知识库管理",
			type: 'iframe'
		}
	},
	{
		name: "makeBi",
		path: "https://www.baidu.com/index.htm",
		component: '',
		menuType: "C",
		meta: {
			icon: "sc-icon-make-icon",
			title: "生成式BI",
			type: 'iframe'
		}
	},
	
	{
		name: "dataInte",
		path: "https://www.baidu.com",
		component: '',
		menuType: "C",
		meta: {
			icon: "sc-icon-data-icon",
			title: "数据集生成",
			type: 'iframe'
		}
	},
	// {
	// 	name: "modelTurn",
	// 	path: "https://www.baidu.com",
	// 	component: '',
	// 	menuType: "C",
	// 	meta: {
	// 		icon: "sc-icon-mx-icon",
	// 		title: "模型微调(SFT)",
	// 		type: 'iframe'
	// 	}
	// },
	{
		name: "agentMade",
		path: "https://cloud.dify.ai/signin",
		component: '',
		menuType: "C",
		meta: {
			icon: "sc-icon-znt-icon",
			title: "智能体构建",
			type: 'link'
		}
	},
	{
		name: "agentMade",
		path: "https://www.baidu.com",
		component: '',
		menuType: "C",
		meta: {
			icon: "sc-icon-knowledge-icon",
			title: "合同审核",
			type: 'iframe'
		}
	},

	// { //项目管理-智能沉淀
	// 	name: "autoSediment",
	// 	path: "/sediment/autoSediment",
	// 	component: "sediment/autoSediment/index",
	// 	meta: {
	// 		icon: "el-icon-shop",
	// 		title: "项目管理 > 智能沉淀",
	// 		active: '/sediment/itemList',
	// 		activeMenu: '/sediment'
	// 	},
	// 	children: [{
	// 		name: "tableDetail",
	// 		path: "/sediment/autoSediment/tableDetail",
	// 		component: "sediment/autoSediment/tableDetail",
	// 		meta: {
	// 			icon: "el-icon-shop",
	// 			title: "项目管理 > 智能沉淀 > 项目智能沉淀一览",
	// 			active: '/sediment/itemList',
	// 			activeMenu: '/sediment'
	// 		},
	// 	}]
	// },

]

export default routes;
